package com.example.teachingevaluationsystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 计划题目关联表
 * </p>
 *
 * @author lp
 * @since 2022-04-04
 */
@Getter
@Setter
@TableName("plan_topic")
@ApiModel(value = "PlanTopic对象", description = "计划题目关联表")
public class PlanTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("评价任务Id")
    @TableField("plan_id")
    private Long planId;

    @ApiModelProperty("题目id")
    @TableField("topic_id")
    private Long topicId;


}
